package com.jackiechan.day14;

import java.util.HashMap;
import java.util.Map;

public class Test_map1 {
    public static void main(String[] args) {
        show();
    }

    private static void show() {
        {
            Map<Integer, String> map = new HashMap();
            map.put(1,"人字拖");
            System.out.println(map.hashCode());
            map.put(2,"百达通");
            System.out.println(map.hashCode());
            map.put(3,"包租公");
            System.out.println(map.hashCode());
            map.put(4,"李嘉诚");
            System.out.println(map.hashCode());
            map.put(5,"蒙毅");
            System.out.println(map.hashCode());
            map.put(6,"玉漱");
            System.out.println(map.hashCode());
            map.put(7,"铁头");
            System.out.println(map.hashCode());
            map.put(8,"阿杰");
            System.out.println(map.hashCode());
            map.put(9,"杰克");
            System.out.println(map.hashCode());
            System.out.println(map);
        }

        Map<String, String > map1 = new HashMap();
        System.out.println(map1);
    }

}
